hey all, me again. i think i'm hitting my head ag...
# suitetalkapi
t
hey all, me again. i think i'm hitting my head against a brick wall here with the oauth stuff. i started from scratch again, running through the guide @creece mentioned so as not to do anything different. used the netsuite guide on how to generate the signature, but still get the following back:
Copy code
{
  "error": {
    "code": "INVALID_REQUEST",
    "message": "The request could not be understood by the server due to malformed syntax."
  }
}
the headers ive built like this (redacted keys of course)
Copy code
Array
(
    [0] => Content-Type: application/json
    [1] => Authorization: OAuth realm=MYACCOUNT,oauth_consumer_key=xxxxxxxxxx,oauth_token=xxxxxxxx,oauth_signature_method=HMAC-SHA256,oauth_timestamp=1496832781,oauth_nonce=2128c849f4017533126c3e461d370259,oauth_version=1.0,oauth_signature=xxxxxxx
)
and the signature is built following this guide (https://netsuite.custhelp.com/app/answers/detail/a_id/42019/kw/token%20based%20authentication) any help is greatly appreciated as it feels like im making no progress on this