Skip to main content

We set up a REST API integration with our Acumatica account using Zapier and it works fine. We then tried connecting it to our sandbox account as well and it stopped working after a day. The error is that the connection timed out. We cannot connect from Zapier or web based Postman. Interestingly, we can connect from Postman desktop. The version on our sandbox account is 2022 R1.

Is there some sort of setting on the sandbox that is blocking the requests?

@DavidMod you mentioned that “it stopped working after a day”. Did it work initially?

Are you aware of anything that changed, security policy, user setting, or something related?


We only opened up permissions and settings. We didn’t take any away. We can’t think of anything new that should be blocking.


I checked the logs and we are getting the error “A potentially dangerous Request.Path value was detected from the client (:).” 

 

Although on second thought I think we are getting that error even when not trying to connect from the API.


you mean when trying to login through UI?


No. The error might not be related. The issue is when using the API. The UI works fine.

 


I checked the logs and we are getting the error “A potentially dangerous Request.Path value was detected from the client (:).” 

What logs you are seeing this message on, Acumatica or server, firewall?


Acumatica. I can log in using the UI, so it does not seem to be a server issue.


i believe issue is coming from c# (with :” in your URL)

similar issue has been discussed at c# - A potentially dangerous Request.Path value was detected from the client (*) - Stack Overflow

 


@DavidMod are you able to outline your solution to connecting to Zapier? I’m interested in this. Thanks!


@DavidMod, Can you share the following details that would help us check this,?

  • Endpoint URL
  • Request Payload(request body)
  • Complete response from Acumatica and the http response code
  • a few screenshots

Thanks,


@DavidMod, Can you share the following details that would help us check this,?

  • Endpoint URL
  • Request Payload(request body)
  • Complete response from Acumatica and the http response code
  • a few screenshots

Thanks,

Thank you for your help!
 

Here is a screenshot of the full request and response from Postman:
 

And here is the copyable version of the request:

 

POST http://18.188.246.242/PR000008072/identity/connect/token

 

  • Request Headers

Content-Type: application/x-www-form-urlencoded

Authorization: Basic N0NERUIyQTYtMjJCOS03Q0I1LUY1ODgtMjlBRUVEMDk1RDlCQE1vZHVsYXIgQ2xvc2V0czpjRUJrdFUxclBTUnNOU0dDVlViTEJR

User-Agent: PostmanRuntime/7.32.2

Accept: */*

Cache-Control: no-cache

Postman-Token: 42c026a6-78c2-4e55-8bdf-5a50584fa950

Host: 18.188.246.242

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

  • Request Body

    1.  grant_type: "authorization_code"

    2.  code: "g2JAiYqQ6RodxGPrdjPZQuh_Febh0Q5ndUbP7mAvxEQ"

    3.  redirect_uri: "https://oauth.pstmn.io/v1/browser-callback"


Hi @DavidMod were you able to find a solution? Thank you!


Hi @DavidMod how did you manage to accomplish the Acumatica - Zapier integration? I’d like to set it up to push deals from Hubspot to Acumatica but I can’t find much help to do this anywhere


Please can you provide a walk through for the zapier connection? Really interested in getting this working alongside the commerce connector.


Reply