Anaplan error 404 when importing to Anaplan
Hello,
I have error when importing data to Anaplan using new CA certificate and version 1.4.1.
This command working in Anaplan connect 1.3.3.3
java -d64 -Xmx48m -Dhttps.proxyHost=XXX -Dhttps.proxyPort=8080 -jar "XXX\anaplan-connect-1-3-3-3.jar" -c "XXX\xxx.cer" -workspace "XXX" -model "XXX" -file "XXX.txt" -put "XXX.txt"
This command not working in Anaplan connect 1.4.1.
java -d64 -Xmx48m -Dhttps.proxyHost=XXX -Dhttps.proxyPort=8080 -classpath "XXX\anaplan-connect-1.4.1-jar-with-dependencies.jar;XXX\Anaplan Connect v1.4.1\lib\README.md" com.anaplan.client.Program -keystore "XXX\xxx.jks" -keystorepass "XXX" -keystorealias "XXX" -service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -workspace "XXX" -model "XXX" -chunksize 1 -file "XXX.txt" -put "XXX.txt"
Error message:
-- Initializing Service...
INFObstractAuthenticator
-- Authenticating via Certificate...
ERROR c.a.client.Program
-- Server files not found: Server-Files not found for Model-ID=XXX (Feign: status 404 reading AnaplanAPI#getServerFiles
(String,String,int); content:
{
"status": {
"code": 404,
"message": "Resource not found"
}
})
Do you have any idea what is incorrect?
Thanks.
Comments
-
Using basic authentication:
version 1.3.3.3 is working:
java -d64 -Xmx48m -Dhttps.proxyHost=XXX -Dhttps.proxyPort=8080 -jar "XXX\anaplan-connect-1-3-3-3.jar" -user "XXX:xxx" -workspace "XXX" -model "XXX" -file "XXX" -put "XXX"
version 1.4.1 the same error:
java -d64 -Xmx48m -Dhttps.proxyHost=XXX -Dhttps.proxyPort=8080 -classpath "XXX\anaplan-connect-1.4.1-jar-with-dependencies.jar;XXX\lib\README.md" com.anaplan.client.Program -service "https://api.anaplan.com" -auth "https://auth.anaplan.com" -user "XXX:xxx" -workspace "XXX" -model "XXX" -file "XXX" -put "XXX"
-- Initializing Service...
mINFO
-- Authenticating viaBasic...
mERROR
-- Server files not found: Server-Files not found for Model-ID=XXX (Feign: status 404 reading AnaplanAPI#getServerFiles(String,String,int); content:
{
"status": {
"code": 404,
"message": "Resource not found"
}
})Did you upload the Public Key to Anaplan?
Yes to Anaplan administration app.
0 -
Problem solved. Model and workspace have to be IDs, not string as it was in previous version.
0 -
I ran into a similar issue with Anaplan Connect when I tried to export from a new model using script from another model's working export. I got the error shown below because the Anaplan service user that was used to execute the script didn't have rights to the model. When I gave that user Full Access in the Model Role under Users, it fixed the problem.
Arnie
Error:
|-- Exports not found: Exports not found for Model-ID=XXXXXXXXXXXXXXXXXX (Feign: status 404 reading AnaplanAPI#getExports(String,String,int); content:
{
"status" : {
"code" : 404,
"message" : "Not Found"
}
})
0
Categories
- All Categories
- 2.3K Anaplan Community
- Academy
- Anaplan Talent Builder
- Model Design Course
- The Anaplan Way
- Archive
- 2 Idea exchange
- 62 Enterprise Scale
- 1.1K Extensibility
- 21 Intelligence
- 1.6K Planning & Modeling
- 331 Security
- Community Connections
- Connections
- Experiences
- Groups
- Personas
- Employees
- CS Toolkit
- Customer Care Center
- Forums
- Academy & Training
- Community Feedback & Updates
- Japan
- Anaplan Community Japan
- Anaplan Community Japan Knowledge Base
- HyperCare Japan
- JP-Central
- Support-Japanese
- Partners
- Partner Leadership Council
- Partner Product Council
- 724 Platform
- Anapedia
- App Hub
- Centers Of Excellence
- Extensions
- Planual
- Platform Updates
- 724 User Experience
- Profile Builder
- Resources
- Anaplan Advocates
- Anaplan Live!
- Community
- Community Advancement
- Community Connections
- Partner Program
- The Official Master Anaplanner Program
- Videos
- Welcome to the Anaplan Community!
- Success Central
- Support
- Case Portal Link
- Common Support Questions
- HyperCare Redirect
- Known Issues and Workarounds
- Support test page
- SupportFAQ
- Survey
- 2 Training Day Takeaways