Comments (10)
What headers are you using? This is usually a header issue or a token issue.
from api.
Thank You for your response.
The headers that I am using are:
"Authorization": "apiToken token",
"apiUser": "name of user",
"api_key": "key"
Am I missing any header here?
from api.
The api_key is not needed here. Can you try without that?
from api.
@Sbrenthughes Thank you for your response.
I tried the same post request without api_key.
It gave me a 500 and the error is the same.
Any other thing you can advice for me to look into?
from api.
How did you create the token?
from api.
I created the token form the admin setting ->generate apiToken.
from api.
@Sbrenthughes @tabladrum @rvema @fidelcoria-aa
Can anyone help with this?
Is it possible to provide a sample POST request with all the expected headers and authentication?
Thank You
from api.
if you are using the token that you created from the admin screen alone then that is why it will not work. You must then base64 encode it. You can try using something like echo "PasswordIsAuthToken:{\"apiKey\":\"<token>\"}" | base64
where<token>
is the token you generated from the UI.
You would then do something like:
Authorization: apiToken <token_generated_from_above>
Accept:application/json
Content-Type:application/json
apiUser:<api_user>
from api.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from api.
I am also facing same issue. is it resolved ?
from api.
Related Issues (20)
- CVE-2022-38752 (Medium) detected in snakeyaml-1.17.jar - autoclosed HOT 1
- CVE-2022-38751 (Medium) detected in snakeyaml-1.17.jar - autoclosed HOT 1
- CVE-2022-38750 (Medium) detected in snakeyaml-1.17.jar - autoclosed HOT 1
- CVE-2022-38749 (Medium) detected in snakeyaml-1.17.jar - autoclosed HOT 1
- CVE-2021-43980 (Low) detected in tomcat-embed-core-8.5.70.jar - autoclosed HOT 1
- CVE-2022-42004 (High) detected in jackson-databind-2.10.3.jar - autoclosed HOT 1
- CVE-2022-42003 (High) detected in jackson-databind-2.10.3.jar - autoclosed HOT 1
- CVE-2022-40155 (High) detected in woodstox-core-6.1.1.jar - autoclosed HOT 1
- CVE-2022-40154 (High) detected in woodstox-core-6.1.1.jar - autoclosed HOT 1
- CVE-2022-40156 (High) detected in woodstox-core-6.1.1.jar - autoclosed HOT 1
- CVE-2022-40153 (High) detected in woodstox-core-6.2.4.jar - autoclosed HOT 1
- CVE-2022-40152 (High) detected in woodstox-core-6.2.4.jar
- CVE-2022-41854 (Medium) detected in snakeyaml-1.33.jar - autoclosed HOT 1
- CVE-2022-31692 (High) detected in spring-security-web-5.6.4.jar
- CVE-2022-1471 (High) detected in snakeyaml-1.33.jar
- CVE-2022-42252 (High) detected in tomcat-embed-core-9.0.65.jar
- CVE-2023-24998 (High) detected in commons-fileupload-1.4.jar
- CVE-2023-20860 (High) detected in spring-webmvc-5.3.18.jar
- CVE-2023-20861 (Medium) detected in spring-expression-5.3.18.jar
- CVE-2023-20863 (Medium) detected in spring-expression-5.3.18.jar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api.