WPIntell

Source evidence

Multi Value Multi Select Error on job submission

Greenhouse Job Board · support · 2021-10-27T15:24:00+00:00

complaintsentiment
mediumseverity
0.93relevance
12replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
akky777 unresolved
I am trying to integrate the job board to my site, Jobs without multi-select fields are working but the jobs that have multi-select field are throwing error on submission. {“status”:422,”error”:”Invalid attributes: Multi-select answer is not an array”} above is the error I am getting in the console after submitting the job. Is it rendering a select box or a list of radio buttons? If it’s a select box, can you inspect the code and to see if it’s properly adding the “multiple” attribute to the select box? Yes, the select box is calling correctly on the page. <select name="question_15066172002[]" id="question_15066172002[]" title="How many years of experience do you have working in a product/technical role as a SaaS sales engineer or sales consultant?" required="true" multiple=""><option value="68473101002">0-1 year</option><option value="68473102002">2-3 years</option><option value="68473103002">4-5 years</option><option value="68473104002">6+ years</option></select> When I submit for, this is the result I get with error success success Array ( [id] => 5632963002 [mapped_url_token] => https://boards.greenhouse.io/dailypayinc/jobs/5632963002 [first_name] => Akky [last_name] => Shah [email] => akky@gmail.com [phone] => 1234567890 [question_15066166002] => NA [question_15066167002] => NA [question_15066168002] => 12345 [question_15066169002] => 1 [question_15066170002] => No [question_15066171002] => Google [question_15066172002] => Array ( [0] => 68473102002 [1] => 68473103002 ) [resume] => CURLFile Object ( [name] => /private/var/tmp/php1ZitdW [mime] => application/pdf [postname] => akky-test-again.pdf ) ) {"status":422,"error":"Invalid attributes: Multi-select answer is not an array"} php version: 7.3.5 curl version: 7.54.0 #greenhouse-job-board_1 #apply_form Hmmm… Do you have a link to the page I could take a look at? Looks like your multi-select is an array. [question_15066172002] => Array ( [0] => 68473102002 [1] => 68473103002 ) Hey sure, I’ll provide my local link on which I am working. Page link to carrers Use credentials: username: connection password: smooth Click on the job named: “ Sales Engineer (Remote) ” under the customer success team department, that job has multiple select fields, you can also select another job named “ Spanish/English Customer Support Agent (In-Office) ” under External Operations which has more than one multiple Select. This reply was modified 4 years, 7 months ago by akky777 . Reason: open link on new tab The select seems to be formed correctly. The code snippet you posted in your original question seems to have the multi-select input values in an array. I went back to look at your example this morning and it’s no longer available. My system got turned off that is why you were not able to see the site, I just turned it on, it should be good. Please try it now with the same credentials. Hey @brownbagmarketing you can access the site again, my server is back up, please help me with the issue I need to fix it. Thank You Page link to carrers Use credentials: username: connection password: smooth This reply was modified 4 years, 6 months ago by akky777 . This reply was modified 4 years, 6 months ago by akky777 . Hey, @brownbagmarketing please give me some solution for this issue, I need to get this fix it. This is the only issue that is holding us to push the careers page live. Thank You. This reply was modified 4 years, 6 months ago by akky777 . Right now I have no solution. The select looks to be correctly formed and rendered. Your error message snippet that you posted originally seems to indicate the question is being submitted as an Array. Where did that code snippet come from? Can you verify that the post does contain “question_15066172002” as an array? Have you reached out to Greenhouse to see if something different needs to happen for the submittal to the API? I can’t troubleshoot what happens in your backend, I can only see what happens client side. Hey, @brownbagmarketing I have connected to greenhouse job board support and they are telling me that multi-select should submit the query like "question_111": ["999","888"]. and currently it is submitting like "question_111": {"0":"999", "1":"888"} which is not the correct data structure. They also refferred me to the link below Github Greenhouse-tools-php . Can you please check it and let me know if I can fix this issue? Thank You. @brownbagmarketing WHy is the page loading really slow, Page load takes almost 30 seconds to load. Is there any solution for that? Hey @brownbagmarketing How can i make an individual job page link, because current reffarral link and individual job link is not working. https://www.dailypay.com/jobs/?gh_jid=5666144002&gh_src=2d446d382us Above link should open a Senior Recruiter Job instead it just opens the https://www.dailypay.com/jobs page. Also when i click on any job the url changes to the job slug instead of job ID, how can i change the slug to id when job description opens? Thank you.

Comments

12 shown
brownbagmarketing 2021-10-28T17:56:00+00:00

Is it rendering a select box or a list of radio buttons? If it’s a select box, can you inspect the code and to see if it’s properly adding the “multiple” attribute to the select box?

akky777 2021-10-28T18:19:00+00:00

Yes, the select box is calling correctly on the page. <select name="question_15066172002[]" id="question_15066172002[]" title="How many years of experience do you have working in a product/technical role as a SaaS sales engineer or sales consultant?" required="true" multiple=""><option value="68473101002">0-1 year</option><option value="68473102002">2-3 years</option><option value="68473103002">4-5 years</option><option value="68473104002">6+ years</option></select> When I submit for, this is the result I get with error success success Array ( [id] => 5632963002 [mapped_url_token] => https://boards.greenhouse.io/dailypayinc/jobs/5632963002 [first_name] => Akky [last_name] => Shah [email] => akky@gmail.com [phone] => 1234567890 [question_15066166002] => NA [question_15066167002] => NA [question_15066168002] => 12345 [question_15066169002] => 1 [question_15066170002] => No [question_15066171002] => Google [question_15066172002] => Array ( [0] => 68473102002 [1] => 68473103002 ) [resume] => CURLFile Object ( [name] => /private/var/tmp/php1ZitdW [mime] => application/pdf [postname] => akky-test-again.pdf ) ) {"status":422,"error":"Invalid attributes: Multi-select answer is not an array"} php version: 7.3.5 curl version: 7.54.0 #greenhouse-job-board_1 #apply_form

brownbagmarketing 2021-10-28T20:35:00+00:00

Hmmm… Do you have a link to the page I could take a look at? Looks like your multi-select is an array. [question_15066172002] => Array ( [0] => 68473102002 [1] => 68473103002 )

akky777 2021-10-28T20:47:00+00:00

Hey sure, I’ll provide my local link on which I am working. Page link to carrers Use credentials: username: connection password: smooth Click on the job named: “ Sales Engineer (Remote) ” under the customer success team department, that job has multiple select fields, you can also select another job named “ Spanish/English Customer Support Agent (In-Office) ” under External Operations which has more than one multiple Select. This reply was modified 4 years, 7 months ago by akky777 . Reason: open link on new tab

brownbagmarketing 2021-10-29T11:44:00+00:00

The select seems to be formed correctly. The code snippet you posted in your original question seems to have the multi-select input values in an array. I went back to look at your example this morning and it’s no longer available.

akky777 2021-10-29T12:27:00+00:00

My system got turned off that is why you were not able to see the site, I just turned it on, it should be good. Please try it now with the same credentials.

akky777 2021-11-01T13:01:00+00:00

Hey @brownbagmarketing you can access the site again, my server is back up, please help me with the issue I need to fix it. Thank You Page link to carrers Use credentials: username: connection password: smooth This reply was modified 4 years, 6 months ago by akky777 . This reply was modified 4 years, 6 months ago by akky777 .

akky777 2021-11-02T13:44:00+00:00

Hey, @brownbagmarketing please give me some solution for this issue, I need to get this fix it. This is the only issue that is holding us to push the careers page live. Thank You. This reply was modified 4 years, 6 months ago by akky777 .

brownbagmarketing 2021-11-02T13:51:00+00:00

Right now I have no solution. The select looks to be correctly formed and rendered. Your error message snippet that you posted originally seems to indicate the question is being submitted as an Array. Where did that code snippet come from? Can you verify that the post does contain “question_15066172002” as an array? Have you reached out to Greenhouse to see if something different needs to happen for the submittal to the API? I can’t troubleshoot what happens in your backend, I can only see what happens client side.

akky777 2021-11-08T21:36:00+00:00

Hey, @brownbagmarketing I have connected to greenhouse job board support and they are telling me that multi-select should submit the query like "question_111": ["999","888"]. and currently it is submitting like "question_111": {"0":"999", "1":"888"} which is not the correct data structure. They also refferred me to the link below Github Greenhouse-tools-php . Can you please check it and let me know if I can fix this issue? Thank You.

akky777 2021-11-10T15:11:00+00:00

@brownbagmarketing WHy is the page loading really slow, Page load takes almost 30 seconds to load. Is there any solution for that?

akky777 2021-12-16T02:08:00+00:00

Hey @brownbagmarketing How can i make an individual job page link, because current reffarral link and individual job link is not working. https://www.dailypay.com/jobs/?gh_jid=5666144002&gh_src=2d446d382us Above link should open a Senior Recruiter Job instead it just opens the https://www.dailypay.com/jobs page. Also when i click on any job the url changes to the job slug instead of job ID, how can i change the slug to id when job description opens? Thank you.