Skip to main content

I am experiencing a validation error with my http callout.  I'm trying to access this api:

 

https://opendata.dc.gov/datasets/DCGIS::purchase-card-transactions/api

 

The url for the JSON Response is here:

 

https://maps2.dcgis.dc.gov/dcgis/rest/services/DCGIS_DATA/Public_Service_WebMercator/MapServer/50/query?where=1%3D1&outFields=*&outSR=4326&f=json

 

I added the JSON Response URL to my external credential

 

Validation Error for HTTP Callout

When I create an HTTP callout in the flow, I don't add anything to the header or any query parameters

 

Screenshot 2024-03-02 at 11.44.46 AM.png

Screenshot 2024-03-02 at 11.45.19 AM.png

I can successfully connect to the schema:

 

Screenshot 2024-03-02 at 11.47.24 AM.png

 

However, I immediately get a validation error when I test the flow:

 

Screenshot 2024-03-02 at 11.49.25 AM.png

Any advice would be appreciated

 

#Flows #HTTP Callouts

6 Antworten
  1. 6. Juni 2024, 11:24
    In screenshot from OP looks like url base path contains query params. I recommend stripping these out and building up the query just before callout. What type of authentication is in play? None, OAuth2, user/pword? Check to make sure permissions are configured correctly for user. I also recommend troubleshooting side by side with Postman.
0/9000