cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to refresh document by passing prompts

Trying to refresh document by a PUT request to http://localhost:6405/biprws/raylight/v1/documents/492808/parameters?formattedValues=true with body

<parameters>
   <parameter optional="false" type="sapVariable" dpId="DP0" primary="true">
      <answer constrained="false" type="Text" keyType="Text">
         <info cardinality="Interval" keepLastValues="true">
            <lov hierarchical="true" nodeSelection="Any" partial="false" refreshable="true" searchable="true" mandatorySearch="false" searchScopes="Values,Keys" searchTargets="Database">
               <id>UNIVERSELOV_DS2.:M:STR:ZC_FISCPER_RANGE_MND</id>
               <updated>2021-02-22T16:19:41.000Z</updated>
              <intervals>
               <interval id="0">
                  <values>
                     <value id="2021001">FY2021 P01</value>
                     <value id="2021010">FY2021 P10</value>
                  </values>
               </interval>
              </intervals>
			  <values>
			  <value id="2021001">FY2021 P01</value>
			  <value id="2021010">FY2021 P10</value>
			  </values>
               <columns mappingId="0">
                  <column id="0" type="String">ZC_FISCPER_RANGE_MND</column>
               </columns>
            </lov>
         </info>
      </answer>
      <id>0</id>
   </parameter>
   <parameter optional="false" type="sapVariable" dpId="DP0" primary="true">
      <answer constrained="false" type="Text" keyType="Text">
         <info cardinality="Single" keepLastValues="true">
            <lov hierarchical="true" nodeSelection="Any" partial="false" refreshable="true" searchable="true" mandatorySearch="false" searchScopes="Values,Keys" searchTargets="Database">
               <id>UNIVERSELOV_DS2.:M:STR:ZV_AC_LEDGER</id>
               <updated>2021-02-22T16:19:41.000Z</updated>
               <values>
                  <value id="0L">Leading Ledger</value>
               </values>
               <columns mappingId="0">
                  <column id="0" type="String">ZV_AC_LEDGER</column>
               </columns>
            </lov>
         </info>
      </answer>
      <id>1</id>
   </parameter>
  <parameter optional="true" type="sapVariable" dpId="DP0" primary="true">
      <answer constrained="false" type="Text" keyType="Text">
         <info cardinality="Multiple" keepLastValues="true">
            <lov hierarchical="true" nodeSelection="Any" partial="false" refreshable="true" searchable="true" mandatorySearch="false" searchScopes="Values,Keys" searchTargets="Database">
               <id>UNIVERSELOV_DS2.:M:STR:ZC_PLANT_MUL</id>
               <updated>2021-02-22T16:19:42.000Z</updated>
               <values>
                  <value id="1014">Boone Dental FC</value>
               </values>
               <columns mappingId="0">
                  <column id="0" type="String">ZC_PLANT_MUL</column>
               </columns>
            </lov>
         </info>
      </answer>
      <id>2</id>
   </parameter>
</parameters>

but getting error:

<error><error_code>

400

</error_code>

<message>JAXBException occurred : cvc-complex-type.2.4.a: Invalid content was found starting with element 'values'. One of '{value, cvalue}' is expected.. cvc-complex-type.2.4.a: Invalid content was found starting with element 'values'. One of '{value, cvalue}' is expected..

</message>

</error>

How can i solve this?

View Entire Topic
former_member230921
Active Contributor
0 Kudos

{"error_code": "WSR 00102", "message": "An error occurred while providing answers (The number of requested members exceeds 5000. Do a search by element instead.)." }

Above is the error i am getting when sending PUT request to

http://localhost:6405/biprws/raylight/v1/documents/492808/parameters

what can be the reason for the issue?How can i solve it?