# Problems when submitting forms via the API / Private App

**URL:** <https://community.hubspot.com/t/problems-when-submitting-forms-via-the-api-private-app/72256>\
**Category:** APIs & Integrations\
**Tags:** php\
**Created:** [January 5, 2023, 11:11am UTC](https://community.hubspot.com/t/problems-when-submitting-forms-via-the-api-private-app/72256 "2023-01-05T11:11:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CSchuelling](https://avatars.discourse-cdn.com/v4/letter/c/958977/32.png) [@CSchuelling](https://community.hubspot.com/u/CSchuelling)\
**Post date:** [January 5, 2023, 11:11am UTC](https://community.hubspot.com/t/problems-when-submitting-forms-via-the-api-private-app/72256/1 "2023-01-05T11:11:13Z")

</div>

Hello,  
I have written a Joomla plugin that fills out a form on Hubsport using the API.  
I have set up a private app for this and send my data via POST using the following URL:  
[https://api.hsforms.com/submissions/v3/integration/submit/portalId/formId](https://api.hsforms.com/submissions/v3/integration/submit/portalId/formId)  
As long as I use a local development environment under Localhost / PHP 7.4 or 8.0 and submit the form, everything goes without problems and I also find my form submission in Hubspot.  
If I now put the page online with exactly the same code, I get a 404 error from Hubspot without any further error information.  
Among other things, I have already opened a support ticket, but I had hoped that they might be able to help me here.  
Many thanks  
Kiki
