Custom Connector Fails with 400 Error

Summary

The user is facing a 400 error when making a ‘GET’ request using a custom connector built with the no code connector builder. The error message indicates ‘err_search_order_page.no_order_found’. The user mentions that the same request in Postman returns data with a 200 response code.


Question

Hello,
I have created a custom connector using no code connector builder and it runs fine but then suddenly it fails with this error:
'GET' request to '<https://admin.returnprime.com/return-exchange/v2?request_type=return&amp;page=140&amp;created_at_min=2024-01-31T22%3A47%3A48Z&amp;created_at_max=2024-02-29T22%3A47%3A47Z>' failed with status code '400' and error message 'err_search_order_page.no_order_found'
But if I make a request on postman with these exact params, it shows me some data with 200 response code.
Can someone help me with this?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["custom-connector", "no-code-connector-builder", "400-error", "err-search-order-page", "postman-request"]

add screenshot from postman

what do you have on params page?

The same params are visible in the URL (screenshot) and the error message

I checked API docs. page is not mentioned in docs, created_at_min and created_at_max have YYYY-MM-DD format, so it’s hard to tell where is the problem.
https://build.returnprime.com/

HTTP status code 400 (Bad Request) suggests that something is wrong with request, maybe parameters, e.g. like double encoding, but '<http://err_search_order_page.no|err_search_order_page.no>_order_found' is more like 404 (Not Found).

It needs more investigation, because behavior and documentation are confusing.

yes, we have raised an issue with the ReturnPrime team. I was just wondering if my connector configs could be the issue.
Thanks for checking this