Try to create a new API profile in Matillion, but keep getting error 406. When I tried using curl command it's working fine.
Below from Matillion API GUI:
Request header parameters:
X-Api-Key: ********
Request query parameters:
from: 2021-09-20
until: 2021-09-27
Status code received: 406
Response headers:
Keep-Alive: timeout=10
Transfer-Encoding: chunked
Server: nginx
Access-Control-Allow-Methods: GET, POST, DELETE, PATCH, OPTIONS
Access-Control-Allow-Credentials: true
Connection: keep-alive
Access-Control-Allow-Headers: DNT,Authorization,X-Role-Id,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
Date: Mon, 11 Oct 2021 04:27:40 GMT
Content-Type: application/problem+json
[Error]: {"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html","title":"Not Acceptable","status":406,"detail":"Unable to resolve Accept header to a representation"}