Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bad Request 400 Error

    Hi i am getting this error in my dev console: Error 400: SRVE0295E: Error reported: 400

    i am not sure where the error in my request is. my request looks like this:

    {
    "actionURL":"/myservice/reset/accountnumber/1601",
    "showPrompt":false,
    "prompt":"Saving form...",
    "transport":"xmlHttpRequest",
    "useSimpleHttp":true,
    "promptStyle":"cursor",
    "params":{
    "userid":"tom112"
    },
    "httpMethod":"GET",
    "httpHeaders":{
    "Accept":"Application/json"
    },
    "sendNoQueue":true,
    "bypassCache":true,
    "callback":{
    "target":[DataSource ID:resetSecds_cprefSec_1601]
    },
    "willHandleError":true,
    "serverOutputAsString":true,
    "clientContext":{
    },
    "data":null
    }

    I see this error from dev console:


    21:06:52.778:XRP3:WARN:Log:Error:
    ''undefined' is null or not an object'
    in http://localhost:9080/crm/portal.jsp?auth=3*3ynn&RQT=a:arS-$Wa-^&INIP=aSa
    at line 12875
    [c]XMLTools.$37i(_1=>Array[1], _2=>Array[1], _3=>"/")
    [c]XMLTools.selectObjects(_1=>undef, _2=>"response/status", _3=>undef)
    DataSource.$38b(_1=>undef, _2=>Obj, _3=>Obj, _4=>Obj, _5=>Obj)
    DataSource.$377(_1=>Obj, _2=>undef, _3=>Obj)
    DataSource.$379(rpcResponse=>Obj, jsonText=>Obj, rpcRequest=>Obj)
    [c]Class.fireCallback(_1=>Obj, _2=>"rpcResponse,data,rpcRequest", _3=>Array[3], _4=>[DataSource ID:resetSecds_cprefSec_1601], _5=>undef) on [Class RPCManager]
    Class.fireCallback(_1=>Obj, _2=>"rpcResponse,data,rpcRequest", _3=>Array[3], _4=>undef)
    [c]RPCManager.__fireReplyCallback(_1=>Obj, _2=>Obj, _3=>Obj, _4=>Obj)
    [c]RPCManager.fireReplyCallbacks(_1=>Obj, _2=>Obj)
    [c]RPCManager.performOperationReply(_1=>Obj, _2=>Obj)
    [c]RPCManager.$39d(_1=>7)
    [c]RPCManager.performTransactionReply(_1=>7, _2=>Array[1], _3=>undef)
    callback(transactionNum=>7, results=>Obj, wd=>undef)
    "isc.RPCManager.performTransactionReply(transactionNum,results,wd)"
    ** recursed on [c]Class.fireCallback


    I looked at line 12875 in ISC_combined.js (not sure if its the right file) and coundn't make anything out of it. here is the line:
    if(_10==null)continue;if(!isc.isAn.Array(_10)){_8.add(_10)}else{_8.addList(_10)}}


    Would appreciate any help! Thanks.

    #2
    It's not a problem happening in the browser, your server appears to be returning an HTTP 400 error, which likely means it is misconfigured in some way.

    Comment

    Working...
    X