Unabel to get the error response in request

hi,

When I make an API call using the request.invokeTemplate method when I get 422 error the method returns 415 error.

Plz refer to the video in the zip file

bigcommerce refund.zip (5.1 MB)

Thank you.

Hi Benny,

As I see that the API returns the response with the content type application/json based on the attached video, it’s already supported in our platform’s Request Method. I am unsure why it rather throws a 415 unsupported content type error.

We have to investigate this case more thoroughly. So, I have created a support ticket #16294328 to request more information about the app code and your API response.
Please follow up on the ticket’s email thread for troubleshooting. Thank you!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.