Skip to main content

Hi,

When using the REST Web Services POST method to upload an attachment on ServiceNow, I am continuously getting the following error:

{"error":{"message":"Failed to create the attachment. File part might be missing in the request.","detail"

},"status":"failure"}

I have tested via Postman with exactly the same headers and user credentials, and it works. The service also works via the ServiceNow REST API service.

I have tried copying the exact same headers from Postman when it worked, but with no luck. I have also tried different files, as I feel this could be the issue, but I am always getting this error.

Any support with this issue would be appreciated.

Thanks, Brett

Be the first to reply!

Reply