Skip to main content
Question

CKANConnector - Upload error HTTP 400: "Bad request - JSON Error: Invalid request. Please use POST method for your request


jpbarnes
Contributor
Forum|alt.badge.img+2

With the CKANConnector able to list Datasets and Resources without any issue, so I know CKAN Connection is good.   If I try to add and update a resource I receive the  “upload error HTTP 400: "Bad request - JSON Error: Invalid request. Please use POST method for your request”    I’m pulling the Dataset and Resource for the update resource from the dropdown.    Acts like a permission issue but I’m connecting as an Admin  on the openGov side.

 

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • May 18, 2025

The error message suggests that you should be using a POST instead of a get.

Is this message coming directly from the CKANConnector? You may need to use an HTTPCaller to make the request instead


jpbarnes
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • May 19, 2025

When using FME workbench 2024.1 and I received this error.   I actually have 2023 on the same device so without making any changes.   I ran the workbench in 2023 and it was successful, the workspace was built in 2024.   really not wanting to go to the latest FME workbench since our server is still back on 2023. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings