Skip to main content

Hello everyone,

I’m new learning AA, I’m now try to use action ‘Get method’ from under REST Web service in the order to get information of exchange rate from Bank Of Thailand web service.

But It always return with 404 not found.


I’ve tested same URL on simple test browser and return 401 unauthenticated. (on AA should be return the same).

Could you suggest what I wrong?

Thank you in advance.

Hi @BirdThongchai,

It appears that the API URI you are using is incorrect, which is causing problems in retrieving the exchange rates. To resolve this, we need to obtain the correct endpoint from the Bank of Thailand Web service

 

 

 


Thank you @Tamil Arasu10 ,

I’m sure the URL is correct. here below same URL tested successfully reply on Postman.

Do we’ve another way to debug more error detail in AA?

Thank you.


Thank you for the info.

How you are authenticating the URL ?

Are you using the client ID and secret ID to generated token ? or Directly connecting?

 

 

 


Yes, I have client ID and secret ID to connect.

May be I type it wrong field on AA. could you review screen below and correct me please.

 


Please follow the article which helps to fix the issue. 

Note : You have pass client ID and Secret ID in the Parameter section.


Hi @Tamil Arasu10 ,

 

I using Get Method, there are no field Parameter section to pass Client ID and Secret ID. Do I need to use always Post Method before Get?

 

I’ve try added in Custom headers and now return error 400.

 

Here below API Key Authentication Parameter setup on Postman and it’s working well, how can I apply them on AA? any suggestion?

 

This is link of Exchange rate API desccription: https://apiportal.bot.or.th/bot/public/node/503

Thank you. 


Reply