SAP Knowledge Base Article - Preview

2176357 - Function imports not working for POST with Mobile SDK 3.0 SP07 PL02 - SMP

Symptom

  • When trying function imports doing a POST request with [SODataOnlineStore scheduleFunction:delegate:options:] the following error occurs:
    Error Domain=ContractViolationDomain Code=6 "The operation couldn't be completed.
    (ContractViolationDomain error 6.)" UserInfo=0x7ffd61fb4260
    {Payload type is unknown. It must be entity, entitySet or link.=NSLocalizedDescription}
  • GET requests are working correctly.


Read more...

Environment

  • SAP Mobile SDK 3.0 SP07 PL02
  • XCode 6.2
  • iOS 8.2, Simulator and device
  • Deployment target: iOS 7.1 

 

Product

SAP Mobile Platform 3.0 ; SAP Mobile Platform SDK 3.0

Keywords

KBA , function , delegate , post , blockapi , api , library , search , $(inherited) , parent , $(build_style) , $(platform_name) , MOB-SDK-ODP , SAP Mobile SDK Odata SDK , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.