# Blk\_update\_request error when trying to write to Postgres

**URL:** <https://community.fly.io/t/blk-update-request-error-when-trying-to-write-to-postgres/12951>\
**Category:** Questions / Help\
**Tags:** postgres, login-only\
**Created:** [May 17, 2023, 11:22am UTC](https://community.fly.io/t/blk-update-request-error-when-trying-to-write-to-postgres/12951 "2023-05-17T11:22:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lubien](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/lubien/32/41919_2.png) [@lubien](https://community.fly.io/u/lubien)\
**Post date:** [May 17, 2023, 11:36am UTC](https://community.fly.io/t/blk-update-request-error-when-trying-to-write-to-postgres/12951/2 "2023-05-17T11:36:28Z")

</div>

Hi there!

This is definetly a new one, here’s some tips for debugging this.

- You mentioned health checks are fine for the app, can you verify health checks for your DB too? Is the disk full?
- Can you double check your nodejs app is using your postgres? Sometimes node apps have a fallback to SQLite so if that’s the case you’re actually writing to the node app file system instead of PG. [Try to connect to your postgres directly](https://community.fly.io/t/is-there-any-way-to-see-data-in-database-like-normally-we-can-connect-our-postgres-database-to-pgadmin/4280/11) and see if data was written there.
- The second logs block you sent seems like a NodeJS file system error (looking at readFileSync) so doesn’t seem postgres related, can you try verifying another endpoint of your app that it wasn’t just that specific endpoint that errored?

Hope these might help

---

_[View the full topic](https://community.fly.io/t/blk-update-request-error-when-trying-to-write-to-postgres/12951)._
