# API access issues

**URL:** <https://forum.mautic.org/t/api-access-issues/27951>\
**Category:** Product Support\
**Created:** [May 9, 2023, 7:42am UTC](https://forum.mautic.org/t/api-access-issues/27951 "2023-05-09T07:42:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roblefko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roblefko/32/4958_2.png) [@roblefko](https://forum.mautic.org/u/roblefko)\
**Post date:** [May 9, 2023, 7:42am UTC](https://forum.mautic.org/t/api-access-issues/27951/1 "2023-05-09T07:42:04Z")

</div>

**Your software**  
My Mautic version is: 4.4.8  
My PHP version is: 7.4  
My Database type and version is: 10.3.38-MariaDB-0ubuntu0.20.04.1

**Your problem**  
My problem is:  
I’ve been using Fluent forms to capture my contacts in Wordpress and transfer them over to Mautic. The problem was that Fluent forms was not able to communicate with Mautic beyond version 4.4.2. Frustrated, I switched over to N8N. N8N was able to load everything fine in 4.4.2, but when I upgraded to 4.4.8, I found that my authentication to Mautic is no longer working. I’m using the same UserID/PW, and even tried creating a new pair, but nothing seems to work.

These errors are showing in the log:  
I don’t know if this is significant:  
[2023-05-09 06:59:27] mautic.CRITICAL: Uncaught PHP Exception InvalidArgumentException: “The directory “/var/www/mautic/var/cache/prod/jms\_serializer” is not writable.” at /var/www/mautic/vendor/jms/metadata/src/Cache/FileCache.php line 49 {“exception”:“[object] (InvalidArgumentException(code: 0): The directory "/var/www/mautic/var/cache/prod/jms\_serializer" is not writable. at /var/www/mautic/vendor/jms/metadata/src/Cache/FileCache.php:49)”} {“hostname”:“localhost”,“pid”:211233}  
Steps I have tried to fix the problem: Repeated authentication; confirmed ID/pw is valid.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 9, 2023, 8:04am UTC](https://forum.mautic.org/t/api-access-issues/27951/2 "2023-05-09T08:04:27Z")

</div>

> [@roblefko](#):
>
> “The directory “/var/www/mautic/var/cache/prod/jms\_serializer” is not writable.”

Hello,

“The directory “/var/www/mautic/var/cache/prod/jms\_serializer” is not writable.”

is telling me, that you have permission issues. You need to make sure that all folders and files required by Mautic are writable.

Joey

---

<div class="post-metadata">

**Author:** ![roblefko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roblefko/32/4958_2.png) [@roblefko](https://forum.mautic.org/u/roblefko)\
**Post date:** [May 9, 2023, 3:35pm UTC](https://forum.mautic.org/t/api-access-issues/27951/3 "2023-05-09T15:35:56Z")

</div>

Thank you Joey!!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)\
**Post date:** [May 11, 2023, 3:36am UTC](https://forum.mautic.org/t/api-access-issues/27951/4 "2023-05-11T03:36:52Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
