- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 04:31 PM
Hi Guys, I am integrating between my instance and third party using basic auth. But the third party environment is behind the firewall for which mid server needs to be used in Outbound REST message.
1. Can prod instance mid server be used in test instance to test the API working or not ?
2. How to know if the configured API is working.
3. When using test mid servers getting 401 error invalid username/password combo. (Logs show request body but the response is error 401)
Please suggest how to proceed further.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 05:54 PM
Hi @SG23 ,
Please find the answers to your question.
- No u cannot use prod mid server in test instance as it will not be available for selection. Also it's better to use test mid server while performing testing as it will not impact any performance load on Production to customers whenever u test.
- When the configured API returns 200 or 201 in response it means u were successfully able to create/update/get the records from 3rd party app.
- In case of 401 error code pls check the basic auth which u have configured with the 3rd party, the username n password provided by them is valid also check at your end of u have entered the correct value.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 04:53 PM
You can create another Test Mid Server on the Mid Server instance. You can't use the Prod mid server in Test Instance.
If you are getting a 401, it means your basic auth is not working. Check the credentials in your basic auth profile.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 05:54 PM
Hi @SG23 ,
Please find the answers to your question.
- No u cannot use prod mid server in test instance as it will not be available for selection. Also it's better to use test mid server while performing testing as it will not impact any performance load on Production to customers whenever u test.
- When the configured API returns 200 or 201 in response it means u were successfully able to create/update/get the records from 3rd party app.
- In case of 401 error code pls check the basic auth which u have configured with the 3rd party, the username n password provided by them is valid also check at your end of u have entered the correct value.
Thanks,
Danish