/characters/{character_id}/cspa/ returning incorrect values
The cost reported by the endpoint is inconsistent with the cost reported by the game client.
Example:
POST /latest/characters/93265215/cspa/?datasource=tranquility HTTP/1.1
User-Agent: curl/7.35.0
Host: esi.tech.ccp.is
Content-Type: application/json
Accept: application/json
Authorization: Bearer *****
Content-Length: 25
{"characters":[92168909]}
Returns:
HTTP/1.1 201 CREATED
Server: nginx
Date: Thu, 01 Dec 2016 00:11:09 GMT
Content-Type: application/json
Content-Length: 11
Access-Control-Allow-Methods: GET,POST,DELETE,PUT,PATCH,OPTIONS
Access-Control-Expose-Headers: Content-Type,Authorization
Access-Control-Allow-Headers: Content-Type,Authorization
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=31536000
Access-Control-Allow-Credentials: true
Via: 1.1 google
Alt-Svc: clear
{"cost": 0}
The client disagrees:

$ curl -i --compressed -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer <some token>' -d '{"characters": [92168909]}' 'https://esi.tech.ccp.is/latest/characters/<some character>/cspa/?datasource=tranquility'
HTTP/1.1 201 CREATED
Server: nginx
Date: Mon, 23 Jan 2017 22:19:20 GMT
Content-Type: application/json
Content-Length: 14
Vary: Accept-Encoding
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET,POST,DELETE,PUT,PATCH,OPTIONS
Access-Control-Allow-Headers: Content-Type,Authorization
Access-Control-Expose-Headers: Content-Type,Authorization
Access-Control-Allow-Credentials: true
Strict-Transport-Security: max-age=31536000
Via: 1.1 google
Alt-Svc: clear
{"cost": 1000}
Was a change made that fixed it or just not able to repro?
@Regner unable to repro, seems to be limited to my main character only.
This is still occurring, and I've had a couple other people approach me with the same problem: for certain characters, ESI always responds with a CSPA cost of 0, contrary to that shown by the client.
Please reopen.
Still occurring five years later — appears to return always zero.