Hi Victoria,
This error typically occurs when the server does not support the media format of the data sent in the request. It could be related to how the PDF file is being encoded or the Content-Type header in your POST request.
To troubleshoot this issue, I recommend checking the following:
- Ensure the Content-Type header is set correctly in your request. For a PDF file, it usually should be application/pdf.
Can you please confirm if that is correct?
For the second part, you can create a custom field and store the URL in that field. For example, you can have all your files stored on Google Drive and only the URLs related to those can be posted to that table's field. The character limit for the custom field should be set accordingly.
Let me know if you have any questions.