调用 QBO API 时出现以下错误
HTTP/1.1 400 Bad Request
Date: Fri, 21 Jun 2013 12:35:15 GMT
Server: Apache/2.2.22 (Unix)
WWW-Authenticate: OAuth oauth_problem="parameter_absent", oauth_parameters_absent="xoauth_intuit_authid"
Content-Length: 75
Connection: close
Content-Type: text/plain; charset=UTF-8
oauth_problem=parameter_absent&oauth_parameters_absent=xoauth_intuit_authid
到处搜索没有找到与错误相关的帖子
这是我的要求
"POST https:\/\/qbo.sbfinance.intuit.com\/resource\/payment\/v2\/718749385?oauth_consumer_key=qyprdhQBhe1RxpU8hMUpPjojNnJ7MQ&oauth_nonce=dGVzdDUxYzQ1MGM1YWNhNjU1MWM0NTBjNWFjYWIz&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1371820229&oauth_token=qyprd4C4wRVcFA94McMXPxYpEUpeYorIiVv4rkhZ5IoFu0ML&oauth_version=1.0&xoauth_intuit_authid=718749385 HTTP\/1.1\r\nContent-Type: application\/xml\r\nAuthorization: OAuth oauth_consumer_key=\"qyprdhQBhe1RxpU8hMUpPjojNnJ7MQ\"oauth_timestamp=\"1371820229\"oauth_nonce=\"dGVzdDUxYzQ1MGM1YWNhNjU1MWM0NTBjNWFjYWIz\"oauth_signature_method=\"HMAC-SHA1\"oauth_token=\"qyprd4C4wRVcFA94McMXPxYpEUpeYorIiVv4rkhZ5IoFu0ML\"oauth_version=\"1.0\"xoauth_intuit_authid=\"718749385\"oauth_signature=\"4Ozgam5ixNleV1cWNQti\/mAV5Zo=\"\r\nContent-Length: 334\r\n\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<Payment xmlns=\"http:\/\/www.intuit.com\/sb\/cdm\/v2\" xmlns:ns2=\"http:\/\/www.intuit.com\/sb\/cdm\/qbopayroll\/v1\" xmlns:ns3=\"http:\/\/www.intuit.com\/sb\/cdm\/qbo\"><Header><CustomerId>1<\/CustomerId><TotalAmt>0.00<\/TotalAmt><\/Header><Line><Amount>0.00<\/Amount><TxnId>4<\/TxnId><\/Line><\/Payment>\n
我尝试使用 realmid 作为缺失参数的值