}
Here are the more details:-
CustomerID: 1416728966, RequestID: DQcRvKpfrY7_rZknwnUXmg
Headers: {developer-token=REDACTED, login-customer-id=6150134023, x-goog-api-client=gl-java/1.8.0_341 gccl/23.0.0 gapic/23.0.0 gax/2.22.0 grpc/1.52.1 pb/3.21.12}
Body: customer_id: "1416728966"
operations {
create {
lead_form_asset {
fields {
input_type: PHONE_NUMBER
}
fields {
input_type: JOB_TITLE
}
business_name: "Buz name 333"
headline: "edar postman 14/12 //1"
description: "Description 222"
privacy_policy_url: "
https://google.com/privacy"
post_submit_headline: "post headline 222"
post_submit_description: "post desc 222"
call_to_action_type: CONTACT_US
call_to_action_description: "CTA desc 4444"
post_submit_call_to_action_type: SHOP_NOW
background_image_asset: "customers/1416728966/assets/116948949932"
custom_question_fields {
custom_question_text: "B\341\272\241n th\303\255ch \304\221\341\272\241i l\303\275 n\303\240o?"
}
custom_question_fields {
custom_question_text: "Which vehicle make are you interested in?"
single_choice_answers {
answers: "444"
answers: "555"
answers: "666"
}
}
}
final_urls: "
https://google.com/444"
}
}
Response
--------
Headers: Metadata(content-type=application/grpc,request-id=DQcRvKpfrY7_rZknwnUXmg,date=Thu, 14 Dec 2023 07:12:18 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; ma=2592000)
Body: null
Failure message: errors {
error_code {
media_upload_error: DIMENSIONS_NOT_ALLOWED
}
message: "The dimensions of the image are not allowed."
location {
field_path_elements {
field_name: "operations"
index: 0
}
field_path_elements {
field_name: "create"
}
field_path_elements {
field_name: "lead_form_asset"
}
field_path_elements {
field_name: "background_image_asset"
}
}
}
request_id: "DQcRvKpfrY7_rZknwnUXmg"
Even though used image is well with the given conditions, still I am getting dimension error.(Asset resource name of the background image. The minimum size is 600x314 and the aspect ratio must be 1.91:1 (+-1%).)
Let me if I am missing something.
Thanks.