-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DXE-3958 Error when POSTing raw json #61
Comments
Hi @dvhh Thank you for reporting this issue. We were able to reproduce it and will inform you about the progress of fix. Best regards, |
Hello @ckulinsk, In the meantime would you kindly recommend any workaround for posting payload to api endpoint. Currently we wrote a python script in order to do it, but we would appreciate to use any Akamai recommended solution. |
Hello @dvhh Best regards, |
Hello @wzagrajcz, This should work for us in the meantime, thanks |
Hi @dvhh, this issue should be resolved now. |
Describe the bug
piping json to post on API endpoint on akamai cause the following error
To Reproduce
Steps to reproduce the behavior:
podman run --pull=always --rm -it -v ~/.edgerc:/root/.edgerc -v $PWD:/workdir:rw docker.io/akamai/shell
http -v --auth-type=edgegrid -a default: POST :/identity-management/v3/user-admin/ui-identities < pay load.json
http: error: AttributeError: '_io.BufferedReader' object has no attribute 'len'
Expected behavior
POST data on the API endpoint and see an answer
Screenshots
Not Applicable
Please complete the following information:
Additional context
Playload content does not seem relevant for the issue, suspect the issue is caused by edgegrid authentication trying to read the payload for calculating the request signature.
The text was updated successfully, but these errors were encountered: