bitFlyer Lightning error code collection

bitFlyer Lightning error code collection

Summarize the error codes that occurred by hitting the bitFlyer Lightning API and the countermeasures

  1. {"status":-100,"error_message":"Invalid product","data":null}

[Cause] No content type is specified in the request header

When using the privateAPI, I think that the JSON format value is packed in the request body, but it is necessary to explicitly specify what format the value is.

connection = (HttpURLConnection) url.openConnection();
(Omission)
connection.setRequestProperty("Content-Type", "application/json; charset=utf-8");

Recommended Posts

bitFlyer Lightning error code collection
Spring validation and error code
Java parallelization code sample collection
Java test code method collection
Commit failed exit code 1 error resolution