Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

115
Views
Al crear un solo proyecto exacto, POST da como resultado un error 500

Tengo acceso a Exacto (OAUTH), tokens de acceso, actualización, número de división...
Obtengo información 'OBTENER' de la API exacta.
Pero tengo problemas en 'POST'-ing un nuevo proyecto, utilizando Exact API.
Y no tengo ni idea de cuál es el problema.

Como usuario, tengo privilegios 'POST' ().

https://start.exactonline.nl/api/v1/2999609/Users/UserHasRights?endpoint='project/Projects'&action='POST' => verdadero

No tengo ni idea de qué hacer a continuación. Tal vez necesito proporcionar más data , pero la documentación indica que esos tres campos son suficientes para crear un proyecto.

 const data = { "Code":"P99A", "Description":"P99A Descr", "Type": 1 } const response = await fetch('https://start.exactonline.nl/api/v1/2999609/project/Projects', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json', 'Prefer': 'return=representation', 'Authorization': `Bearer ${accessToken}` }, body: JSON.stringify(data) }) console.log(response)

Respuesta exacta del servidor:

 Response { size: 0, timeout: 0, [Symbol(Body internals)]: { body: PassThrough { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null }, disturbed: false, error: null }, [Symbol(Response internals)]: { url: 'https://start.exactonline.nl/api/v1/2999609/project/Projects', status: 500, statusText: 'Internal Server Error', headers: Headers { [Symbol(map)]: [Object: null prototype] }, counter: 0 } }
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Intente con un valor diferente para Tipo: 4 significa No facturable, que normalmente no requiere otros campos. La documentación API muestra que 1 es para la campaña. Ese valor no está disponible a través de la interfaz de usuario.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!