Failed to place building PS4

I am in the process of building my base and have placed foundations down and when trying to place fencing I keep getting the error failed to place building. It will let me place it on all but one side of the foundation and I have tried walls, stairs, ceilings, etc. Also I have logged out and back in, removed the item from my inventory and rebuilt it and tried again and it still gives the same error. Help is much appreciated!